Search the index case-insensitively
authorAlex Crichton <alex@alexcrichton.com>
Wed, 21 Jan 2015 20:24:34 +0000 (12:24 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 21 Jan 2015 20:24:34 +0000 (12:24 -0800)
commit13dd2af5a8aa104ccc3e944507e289664a53aead
treef788f67232604313245c7f7d9a99624963560794
parent3533ff11c505017751d1e466685efe7084cbd96b
Search the index case-insensitively

All crates published will enter the index in an all-lowercase fashion. This is
done because the index may be checked out on case-insensitive filesystems and
its integrity needs to be preserved. When looking for a file in the index, a
crate's name is transformed to all lowercase, but the mentioned name in the
index is verified against the name queried to ensure that they match.

Closes rust-lang/crates.io#93
cc rust-lang/crates.io-index#1
src/cargo/sources/registry.rs